public class Demo2 {
    public static void main(String[] args) {
        String s1 = "abc"+"def";
        String s2 = new String("abc"+"def");
    }

}
